<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class IdleComment extends Model
{
    //闲置物品评论
    protected $table = 'idle_comment';   //数据表
    protected $pk = 'idle_comment_id';  //主键

    protected $schema=[
        'idle_comment_id' => 'int',
        'idle_item_id' => 'int',
        'user_id' => 'int',
        'idle_comment_content' => 'string',
        'idle_comment_time' => 'datetime'

    ];

    protected $createTime = 'idle_comment_time';



}
